package pers.zc.activiti.workflow;

import lombok.Data;

import java.io.Serializable;

/**
 * @Annotion: 节点, 对应上下游关系
 * @ClassName: Node
 * @Author: Lin Fuyuan
 * @Date: 2019/10/8  10:49
 * @Version: 1.0
 */
@Data
public class Node implements Serializable {

    private static final long serialVersionUID = 7755099591473969597L;

    /**
     * 父节点
     */
    private Long source;
    /**
     * 子节点
     */
    private Long target;

    public Node(Long source, Long target) {
        this.source = source;
        this.target = target;
    }
}
